<!DOCTYPE html>
<html>
<head>
<title>oschat</title>
<meta charset="utf-8">
<link href="src/css/chatuser.css" rel="stylesheet" media="screen">
<link rel="stylesheet" href="src/editor/themes/default/default.css" />
<link rel="stylesheet" href="src/editor/plugins/code/prettify.css" />
<script type="text/javascript" src="src/js/jquery-1.8.0.min.js"></script>
<script charset="utf-8" src="src/editor/kindeditor.js"></script>
<script charset="utf-8" src="src/editor/lang/zh_CN.js"></script>
<script charset="utf-8" src="src/editor/plugins/code/prettify.js"></script>

</head>
<body onload='prettyPrint()'>
	<div class="win">
		<div class="win-left">
			<div class="left-main">
				<div class="table-row chat-tool">
					<div class="chat-tool-main"></div>
				</div>
				<div class="table-row chat-main">
					<div class="messages">
						<div class="message">
							<div class="msg-info">
								<div class="u-photo">
									<img width="25" height="25" src="http://static.oschina.net/uploads/user/127/254662_100.jpg?t=1379914852000">
								</div>
								<div class="u-name">Eleven</div>
							</div>
							<div class="msg-content">
								Hello
							</div>
						</div>
						<div class="message">
							<div class="msg-info">
								<div class="u-photo">
									<img width="25" height="25" src="http://static.oschina.net/uploads/user/127/254662_100.jpg?t=1379914852000">
								</div>
								<div class="u-name">Eleven</div>
							</div>
							<div class="msg-content">
								
								<pre class="prettyprint lang-java">Server server = new Server();
Connector conn = new SelectChannelConnector();                                   12321
int port = 80;
String webPath = "/admin";
String contextPath = "./admin";
							    </pre>
								
							</div>
						</div>
					</div>
				</div>
				<div class="table-row send-main">
					<div class="send-main-main">
						<textarea id="contentqq" name="content" style="width:100%;height:140px;visibility:hidden;"></textarea>
					</div>
				</div>
				<div class="table-row send-tool">
					<div class="send-tool-main">
						<div class="send-btn">Send</div>
					</div>
				</div>
			</div>
		</div>
		<div class="win-right">
			
		</div>
	</div>
	<script type="text/javascript" src="src/js/chatuser.js"></script>

	<script type="text/javascript">
		$(function(){
			
		});
		var editor;
			KindEditor.ready(function(K) {
				editor = K.create('textarea[name="content"]', {
					themeType : 'simple',
					resizeType : 0,
					allowPreviewEmoticons : true,
					allowImageUpload : true,
					newlineTag:"br",
					urlType:"relative",
					items : [
						'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline',
						'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
						'insertunorderedlist', '|', 'emoticons', 'image', 'link','code']
				});
			});
	</script>
</body>
</html>